<extend name="base"/>

<block name="extend">
<script type='text/javascript'>
	$(document).ready(product_obj.detail_tuan);
</script>
</block>


<block name="body">

<div id="orders" class="r_con_wrap">
	<div class="control_btn"><a href="{:U('list_tuan')}" class="btn_gray">返 回</a></div>
    <div class="cp_title">
        <div id="cp_view" class="cur">信息详情</div>
        <!-- <div id="cp_mod">信息修改</div> -->
    </div>
    <div class="detail_card">
        <form id="orders_mod_form" method="post" action="{:U('detailChange')}">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="order_info">
                <tr>
                    <td width="8%" nowrap>商品名称：</td>
                    <td width="92%">{$grouparr.productname}</td>
                </tr>
                <tr>
                    <td width="8%" nowrap>成团类型：</td>
                    <td width="92%">{$grouparr.groupnumber}&nbsp;人团</td>
                </tr>
                 <tr>
                    <td width="8%" nowrap>成团价：</td>
                    <td width="92%">
                       {$grouparr.price}
                    </td>
                </tr>
                <tr>
                    <td width="8%" nowrap>已参团人数：</td>
                    <td width="92%">{$grouparr.hasjoin}</td>
                </tr>
                <tr>
                    <td width="8%" nowrap>参团人员：</td>
                    <td width="92%">
                    	<table style="width:80%;">
                    		<tr><td>昵称</td><td>联系人</td><td>地址</td><td>联系方式</td><td>团位置</td><td>操作</td></tr>
                    		<volist name="grouplogarr" id="v">
                    			<tr>
                    				<td>{$v.nickname}</td>
                    				<td>{$v.linkman}</td>
                    				<td>{$v.address}</td>
                    				<td>{$v.linktel}</td>
                    				<td><if condition="$v.isleader eq 0">团员<else />团长</if></td>
                    				<td><a href="{:U('Pintuan/index_detail',array('id'=>$v['orderid']))}">查看更多>></a></td>
                    			</tr>
                    		</volist>
                    	</table>
                    </td>
                </tr>
                <tr>
                    <td width="8%" nowrap>团创建时间：</td>
                    <td width="92%">{$grouparr.createtime}</td>
                </tr>
                 <tr>
                    <td width="8%" nowrap>过期时间：</td>
                    <td width="92%"><if condition="$grouparr['period'] eq 0">无限期<else />{$grouparr.period}</if></td>
                </tr>
                <tr>
                    <td width="8%" nowrap>团状态：</td>
                    <td width="92%">
                    	<if condition="$grouparr.status eq 1">正在进行
                    		<elseif condition="$grouparr.status eq 2"/>已成团
                    		<elseif condition="$grouparr.status eq 3"/>已发货
                    		<elseif condition="$grouparr.status eq 4"/>已完成
                    		<elseif condition="$grouparr.status eq 5"/>已取消
                    		<else />已过期
                    	</if>
                    </td>
                </tr>
                <tr>
                    <td width="8%" nowrap>团是否过期：</td>
                    <td width="92%"><if condition="$grouparr.isexpired eq 0">未过期<else />已过期</if></td>
                </tr>
                
               <!-- <tr class="cp_item_mod">
                   <td></td>
                   <td><input type="" class="btn_green" name="submit_button" value="提交保存" /><input type="button" class="back btn_gray" name="back" value="取消" /></td>
               </tr> -->
           </table>
          
		</form>
	    <div class="blank12"></div>
	</div>
</div>  

    </block>